package com.umiwe.permission.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.umiwe.entity.UmiwePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PermissionMapper extends BaseMapper<UmiwePermission>{

    @Select("select id from umiwe_permission where uri = #{url} and filter_status = 2")
    Integer filterStatus(String url);
}
